package com.sjf.day02.AnnoTest;

import java.lang.annotation.*;

/**
 * 水果颜色注解
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface FruitColor{

    /**
     * 水果颜色属性
     * @return
     */
    Color fruitColor() default Color.BLUE;
}